// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import MainLayout from '../components/MainLayout.vue'
import WorkflowDesigner from '../components/WorkflowDesigner.vue'

const routes = [
  { path: '/', component: MainLayout },
  { path: '/workflow-designer', component: WorkflowDesigner }
]

const router = createRouter({
  history: createWebHistory('/excel'),
  routes
})

export default router
